package com.wxisme.builder;


public class MyAirShipBuilder implements AirShipBuilder {

	//StringBuilder, 以后学习XML解析中，JDOM库中的类：DomBuilder,SaxBuilder
	@Override
	public Engine builderEngine() {
		System.out.println("构建发动机");
		return new Engine("MyEngine");
	}

	@Override
	public EscapeTower builderEscapeTower() {
		
		System.out.println("构建逃逸塔");
		return new EscapeTower("MyEscapeTower");
	}

	@Override
	public OrbitalModule builderOrbitalModule() {
		System.out.println("构建轨道仓");
		return new OrbitalModule("MyOrbitalModule");
	}	
	
}
